<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 了解
        function creatStudent(name, age, sex) {
            var obj = new Object();
            obj.name = name;
            obj.age = age;
            obj.sex = sex;
            return obj;
        } 

        var zs = creatStudent('张三', 56, '男');
        var ls = creatStudent('李四', 44, '女');
    </script>
</body>
</html>